From ffa86a864c693e728a3b17a0f4af352edb318b87 Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Mon, 22 Sep 2014 14:59:57 +0200 Subject: [PATCH] tools/hotplug: create XEN_LOCK_DIR at runtime Create XEN_LOCK_DIR because it is a compiletime setting. Also /var/lock might be empty on startup because it is a tmpfs mount point. Signed-off-by: Olaf Hering Acked-by: Ian Campbell --- tools/hotplug/Linux/init.d/xencommons.in.in | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/hotplug/Linux/init.d/xencommons.in.in b/tools/hotplug/Linux/init.d/xencommons.in.in index be21960236..a723eb4e92 100644 --- a/tools/hotplug/Linux/init.d/xencommons.in.in +++ b/tools/hotplug/Linux/init.d/xencommons.in.in @@ -61,6 +61,7 @@ do_start () { @LOAD_MODULES@ mkdir -p ${XEN_RUN_DIR} + mkdir -p ${XEN_LOCK_DIR} if ! `${BINDIR}/xenstore-read -s / >/dev/null 2>&1` then -- 2.30.2